home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
wingames
/
wc3.zip
/
WILDCARD.DOC
< prev
Wrap
Text File
|
1992-06-03
|
1KB
|
36 lines
Gives wildcard capabilities to many programs which ordinarily cannot accept
them. Additionally "source" files can be erased after processing to decrease
problems with "disk full" conditions. Leading or trailing command parameters
can be passed to the programs as well.
Format is :
WC ProgramName Wildcard1 {Wildcard2} {-KILL or -Kill or -kill} {-LP} {-TP}
where the options and examples are as follows:
WC DJPEG A*.JPG *.GIF -KILL -LP'-G'
would be the equivalent of the following:
If there were 3 files, A1.JPG, A2.JPG and A3.JPG this would expand into:
DJPEG -G {the "leading parameter"} A1.JPG A1.GIF
DEL A1.JPG
DJPEG -G A2.JPG A2.GIF
DEL A2.JPG
DJPEG -G A3.JPG A3.GIF
DEL A3.JPG
The second (output) wildcard is optional, as are the "leading" and "trailing"
parameter specifications.
Note that some programs can handle file/path specifications in this and others
cannot and must be all done in the currect directory, thus:
WC C:\PROGRAMS\CJPEG *.JPG *.GIF -KILL
may not work.
Written in, and source code available, ZBasic-PC/386, May 1992.